# -*- coding: utf-8 -*-
"""
-------------------------------------------------
   File Name：     qianniu_const
   Description :   千牛渠道请求常量参数
   Author :       zm.z
   date：          2020/2/3
-------------------------------------------------
   Change Activity:
                   2020/2/3:
-------------------------------------------------
"""
__author__ = 'zm.z'


cJSV = "2.5.7"
cAPPKEY = "12574478"
cV = "1.0"
cCateAPI = "mtop.bgm.qnlx.activity.list" # {"page":, "size":15}
cItmAPI = "mtop.bgm.qnlx.activity.get" # {"uuid":}
cDataAPI = "mtop.taobao.poster.common.getbizdata" # "{\"seller_id\":3375170974,\"spmb\":\"5-3375170974-OMUJ5jzK\"}"
cPrefixURL = "https://acs.m.taobao.com/h5"
# https://acs.m.taobao.com/h5/mtop.taobao.poster.common.getbizdata/1.0/?
# jsv=2.5.7&
# appKey=12574478&
# t=1580697651155&
# sign=53b8bd6479b248b9acbd21c8fbf37c96&
# api=mtop.taobao.poster.common.getbizdata&
# v=1.0&
# type=jsonp&
# dataType=jsonp&
# callback=mtopjsonp19&
# data=%7B%22seller_id%22%3A3375170974%2C%22spmb%22%3A%225-3375170974-OMUJ5jzK%22%7D
cHEADERS = {"Host": "acs.m.taobao.com",
            "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0",
            "Accept": "*/*",
            "Accept-Language": "zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2",
            "Accept-Encoding": "gzip, deflate, br",
            "Connection": "keep-alive",
            "Referer": "https://market.m.taobao.com/app/bgm-common/bgm-workbench/index.html"}
# Cookie: cookie2=1eeffa90014d2b21602ea78424032739; t=cf2c0befa1e78ced7d387629d8b8e6b4; _tb_token_=ed7807ee65f3e; _samesite_flag_=true; x=3375170974; uc1=cookie14=UoTUOqbLcDk1hQ%3D%3D&lng=zh_CN; csg=70edbf5b; skt=c613e044f4eb427f; _m_h5_tk=bda722dfa28619dd91b2ff5e23130753_1580704799757; _m_h5_tk_enc=4ffcccf7795fc0f7656350f0bd85b552; unb=2200778572057; sn=perfectdiary%E6%97%97%E8%88%B0%E5%BA%97%3Aspider; isg=BKSkAfhxpiCyldJtjCRLYJJidqKWPcinCU_k6L7H3G_aaUwz5k59Ns6LLUHxqgD_; l=cBr4H-8PQMACeQzbBOfZlurza77O1QRVckPzaNbMiICPOY6HUq2lWZ0l-W-MCn1VL6J2R38eHdDJBA8auy4EhCSmiG47VpC5.; cna=kdC9Fs3ZsTECATspotwtpHk7; v=0; x5sec=7b22617365727665723b32223a223963316436623436656330363334616630626238366266366362336438306135434b364833764546454b6a563762442f72734c6d69514561447a49794d4441334e7a67314e7a49774e5463374e413d3d227d
# cTOKEN 获取cookies _m_h5_tk